package utils;

import java.util.Scanner;

/**
 *	Class and package designed mostly for future use and debug purposes
 *	Add here all tools/classes that cannot be classified and are used mostly for debug and development purposes   
 * 
 */
public abstract class Debug {
	
	private static final Scanner pauser = new Scanner(System.in);
	
	public static boolean DEBUG_MODE = true;
	
	private Debug() {}
	
	
	public static void pauseExec(String msg){
		// Pause the execution
		if (DEBUG_MODE){
			System.out.println("Debug pause: " + msg);
			pauser.nextLine();
		}
	}
	
	public static void pauseExec(){
		pauseExec("");
	}
	
	public static boolean debugTime(){
		return DEBUG_MODE;
	}	
	
	public static void println(String msg){
		if (DEBUG_MODE)
			System.out.println(msg);
	}	

}
